package edu.del.teamknowledgebase.service.code;

public interface CodeService {
    /**
     * 发送验证码
     * @param receiver 接收方（手机号或邮箱）
     * @param type phone 或 email
     * @param scene register、reset、bind 等场景
     * @return 是否发送成功
     */
    boolean sendVerificationCode(String receiver, String type, String scene);
}
